package com.ydm.restaurant.pojo.vo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.List;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class OrderVO {
	private Integer oId;

	/**
	 * 订单号
	 */
	private String number;

	/**
	 * 下单用户
	 */
	private Integer uId;

	/**
	 * 下单时间
	 */
	private LocalDateTime orderTime;

	/**
	 * 实收金额
	 */
	private Double amount;

	/**
	 * 备注
	 */
	private String remark;

	private List<OrderDetailVO> orderDetails;
}
